import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Bus from './lib/bus'
import axios from 'axios'
import ant from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import './main.less'

Vue.use(ant)
Vue.config.productionTip = false
Vue.prototype.$bus = Bus
Vue.prototype.$axios = axios
Vue.prototype.$baseUrl = process.env.BASE_URL

new Vue({
  // 挂载router
  router, // 为了可以让组件使用this.$route,this.$router的一些api属性或者方法
  store,
  render: (h) => h(App),
}).$mount('#app')
